home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: mxsld2.pd.infn.it!LORETI
- From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
- Subject: Re: getcwd() on Solaris 2
- X-Nntp-Posting-Host: mxsld2.pd.infn.it
- Message-ID: <DoAtBC.IBM@news.cern.ch>
- Sender: news@news.cern.ch (USENET News System)
- Reply-To: loreti@mxsld2.pd.infn.it
- Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
- References: <4hv1d7$f0a@nntp.flash.net>
- Date: Fri, 15 Mar 1996 07:40:22 GMT
-
- In article <4hv1d7$f0a@nntp.flash.net>, cwdesign@flash.net (Creative Web Designs) writes:
- >I have an application that uses the function getcwd() on SunOS 4.1.3
- >(Solaris 1). When I try to compile this application on the Solaris 2
- >operating system I get an unresolved reference: getcwd().
-
- This is definitely NOT a C question; but on my Sparcstation I had the
- following:
-
- cmssun1-3> uname -a
- SunOS cmssun1 5.4 Generic_101945-10 sun4m sparc
- cmssun1-4> man getcwd | head
- Reformatting page. Wait... done
-
- getcwd(3C) C Library Functions getcwd(3C)
-
- NAME
- getcwd - get pathname of current working directory
-
- >Is this system call not supported by solaris 2 or am I not specifying
- >the right include directories?
-
- The latter. getcwd(3C) IS supported by Solaris 2, as 'man getcwd' has
- shown.
-
- >Also, does anyone know of a good reference on the differences between
- >Solaris 1 and Solaris 2?
-
- Yes. Sun Microsystems, and Solaris reference manuals. I also suggest
- that you learn about the command 'man', probably available on your
- machine.
-
- --
- Maurizio Loreti http://mvxpd5.pd.infn.it/wwwcdf/mlo.html
- Un. of Padova, Dept. of Physics - Padova, Italy loreti@padova.infn.it
-